<template>
    <div class="user">
        <div class="userInfo">
            <img src="@/assets/user.jpg" alt="">
            <span>尊敬的VIP客户</span>
        </div>
        <div class="listBox">
            <div class="box">
                <img src="@/assets/user/order.png" alt="">
                <p>我的订单</p>
            </div>
            <div class="box">
                <img src="@/assets/user/ticket.png" alt="">
                <p>优惠券</p>
            </div>
            <div class="box">
                <img src="@/assets/user/foot.png" alt="">
                <p>我的足迹</p>
            </div>
            <div class="box" @click="goCollect">
                <img src="@/assets/user/star.png" alt="">
                <p>我的收藏</p>
            </div>
            <div class="box" @click="goaddress">
               <img src="@/assets/user/address.png" alt="" >
                <p>地址管理</p>
            </div>
            <div class="box">
                <img src="@/assets/user/customer.png" alt="">
                <p>联系客服</p>
            </div>
            <div class="box">
               <img src="@/assets/user/help.png" alt="">
                <p>帮助中心</p>
            </div>
            <div class="box" @click="goOpinion">
                <img src="@/assets/user/opinion.png" alt="" >
                <p>意见反馈</p>
            </div>
        </div>
    </div>
</template>

<script>
export default {
    name: 'WorkspaceJsonIndex',

    data() {
        return {
            
        };
    },

    mounted() {
        
    },

    methods: {
        goOpinion(){
            this.$router.push('/user/opinion')
        },
        goaddress(){
            this.$router.push('/cart/order/address')
        },
        goCollect(){
            this.$router.push('/user/collect')
        }
       
    },
};
</script>

<style scoped lang="scss">
@import "scss/index.scss";
*{
    margin: 0;
    padding: 0;
}
</style>